package com.dd.cloud.common.constants;

import java.util.Arrays;
import java.util.List;

/**
 * @author zk
 */
public class UserConstants {

    /**
     * 医生状态
     *
     * @author vodbook
     */
    public interface DoctorUserStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
        //注销
        int LOGOFF = -2;
        //机构禁用
        int DISABLEMECHAN = 2;
        //运营禁用
        int DISABLEADMIN = 3;
        //试用状态
        int TRIAL = 4;
        //可查询所有状态
        String SEL_ALL = "1,2,3,4";
        //注销列表
        String LOGO_OFF = "-1,-2";
        //机构能操作的状态
        List<Integer> mechanOper = Arrays.asList(NORMAL, DISABLEMECHAN, DEL);
    }

    /**
     * 医生类型
     */
    public interface DoctorUserType {
        // 正式账号类型
        int PRO = 1;
        // 公益账号类型
        int PUB = 2;
        // 公益账号(无法认证)类型
        int PUB_NO_AUTH = 21;
    }


    /**
     * 医生详情状态
     *
     * @author vodbook
     */
    public interface DoctorDetailStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 就诊卡状态
     *
     * @author vodbook
     */
    public interface MedCardStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 患者就诊卡最后一次使用
     *
     * @author vodbook
     */
    public interface MedCardPatientLastUse {
        //是
        int YES = 1;
        //否
        int NO = 0;
    }

    /**
     * 医生与患者绑定关系状态
     */
    public interface DoctorPatientBindStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 就诊卡状态
     *
     * @author vodbook
     */
    public interface DeliveryAddrStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }

    /**
     * 是否默认就诊卡
     *
     * @author vodbook
     */
    public interface DeliveryTypeStatus {
        //正常
        int YES = 1;
        //删除
        int NO = 0;
    }

    /**
     * 是否开启服务 咨询,问诊,首页推荐等
     *
     * @author vodbook
     */
    public interface IsOpenSetting {
        //开启
        int YES = 1;
        //未开启
        int NO = 0;
    }

    /**
     * 医生认证修改申请状态
     *
     * @author vodbook
     */
    public interface DoctorDetailApplyStatus {
        //待审核
        int UN_REVIEW = 1;
        //审核通过
        int REVIEW = 2;
        //审核失败
        int REVIEW_FA_IL = 3;
        //保存
        int SAVE = 4;
    }


    public interface IsCertification {
        /**
         * 未认证
         */
        int not_certification = 0;

        /**
         * 已认证
         */
        int certification = 1;
    }

    public interface QualificationType {
        // 1.乡村医生
        int COUNTRY = 1;
        // 2.执业医师
        int PRACTICE = 2;
        // 3.医学生
        int STUDENT = 3;
        // 4.中药师
        int PHARMACISTS = 4;
        // 5.爱好者
        int FAN = 5;
    }

    public interface CertificateType {
        // 1.乡村医生执业证,2.传统医学师承证出师证,3.传统医学医术确有专长证,4.乡镇执业助理医师,
        // 5.乡村全科执业助理医师证,6.执业助理医师证,7.中医（专长）医师资格证,8.中医康复理疗师,9.其他
        int ONE = 1;

        int TWO = 2;

        int THREE = 3;

        int FOUR = 4;

        int FIVE = 5;

        int SIX = 6;

        int SEVEN = 7;

        int EIGHT = 8;

        int NINE = 9;

        // 无处方权证书
        String NOT_HAVE_PRES_POWER = "2,3,4,6,8,9";

        // 有处方权证书
        String HAVE_PRES_POWER = "1,5,7";
    }

    public interface isPower {
        int OPEN = 1;

        int NOT_OPEN = 0;
    }

    public interface IsOpenReviewBo {
        //开通
        int OPEN = 1;
        //开通业务后关闭
        int OPEN_AFTER_OF = 2;
        //未开通
        int NOT_OPEN = 0;
    }

    public interface BindReviewPresDoctorStatus {
        //正常
        int NORMAL = 1;
        //解约
        int RESCIND = 2;
        //拒绝
        int REJECT = 3;
        //待审核
        int UN_REVIEW = 4;
        //已失效
        int LOSE = 5;
        //删除
        int DEL = -1;
        //医生客户端多医生查询的状态列表
        String DOCTOR_CLI_CAN1 = "1,2,5";
    }

    /**
     * 认证类型
     */
    public interface DoctorUserAuthType {
        // 默认正常认证
        int DEFAULT = 0;

        // 无完善资料认证
        int NOT_HAVE_INFO = 1;

        // 乡村医生认证
        int VILLAGE = 2;
    }

    /**
     * 邀请人类型 1.医生 2.销售 3.代理商
     */
    public interface UserType {

        int DOCTOR = 1;

        int SALE = 2;

        int AGENT = 3;
    }

    /**
     * 患者状态
     */
    public interface PatientUserStatus {
        //正常
        int NORMAL = 1;
        //删除
        int DEL = -1;
    }
}
